<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>接口模拟在线支付</title>
</head>
<body>
    <button onclick="payfun('alipay',100);">支付宝</button>
    <button onclick="payfun('weipay',90);">微信</button>
    <script src="./017-接口模拟在线支付.js"></script>
</body>
</html>